#ifndef __STDTHREADPOOL_H_
#define __STDTHREADPOOL_H_



//线程池
struct StdThreadPool;
typedef struct StdThreadPool ThreadP;

ThreadP * ThreadPoolInit(int MaxThrdNum,int MinThrdNum,int MaxQueueSize,int SleepTime);
void ThreadPoolAddTask(ThreadP *p,void*(*func)(void *),void * arg);
void ClearThreadPool(ThreadP *p);
#endif